Search results

155 packages found

JavaScript library for efficient prime number detection and arithmetic, with customizable algorithms for large numbers.

published 1.0.3 6 months ago
M
Q
P

Checks if a number is prime or not

published 1.0.1 8 months ago
M
Q
P

A package to compute and check for prime numbers within a specified range.

published 1.0.5 8 months ago
M
Q
P

Generate a cryptographically-random probable prime number that passes the Miller-Rabin test with the given number of bits of entropy.

published 1.0.0 9 months ago
M
Q
P
M
Q
P

A function that deterministically checks if a number is prime.

published 1.0.0 9 months ago
M
Q
P

Check if number is prime

published 2.3.0 a year ago
M
Q
P

Fastest Prime Number Calculation logic for nodejs and browser (checks, random generator, prime range generator, primes count generator, summation of primes, factorial of primes)

published 0.1.0 a year ago
M
Q
P

Generate a random prime number

published 4.0.0 2 years ago
M
Q
P

Check prime number using only RegExp!

published 1.1.1 6 years ago
M
Q
P

Finds any prime numbers up to given limit. Based on linear Sieve of Eratosthenes algo.

published 1.0.3 8 years ago
M
Q
P

An implementation of the Miller-Rabin primality test to efficiently determine with high probability whether some arbitrarily-large number is prime.

published 4.4.1 a year ago
M
Q
P

Fastest Prime Number Calculation logic for browser (checks, random generator, prime range generator, primes count generator, summation of primes, factorial of primes)

published 0.1.0 a year ago
M
Q
P

Test if a number is prime in constant time, using a cached Sieve of Eratosthenes.

published 1.0.7 9 years ago
M
Q
P

A simple function that returns the nth prime number

published 1.0.4 6 years ago
M
Q
P

Streaming number generator for e, pi, and primes

published 1.0.0 4 years ago
M
Q
P

Returns boolean of if provided number is prime.

published 2.1.0 6 years ago
M
Q
P

Functional library for precise access to integer sequences such as prime numbers, square numbers, triangle numbers, etc

published 1.0.4 5 years ago
M
Q
P

Arbitrary precision modular arithmetic, cryptographically secure random numbers and strong probable prime generation/testing. It works in modern browsers, Angular, React, Node.js, etc. since it uses the native JS implementation of BigInt

published 3.3.0 10 months ago
M
Q
P

Simple prime number and prime factorization package

published 1.0.1 6 years ago
M
Q
P